projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cddbc8f
)
gtk-demo: Ignore some lines in info
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 13 Sep 2020 14:45:03 +0000
(10:45 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 13 Sep 2020 18:42:03 +0000
(14:42 -0400)
Ignore lines starting with # in the info comment at
the top of source files. This will be used to add
keywords for search in following commits.
demos/gtk-demo/main.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/main.c
b/demos/gtk-demo/main.c
index 9abbd0f94374e76cc2970b5bda4a6e338ef49867..3011c3e890356f17fcdf80ca6c688540d1c15951 100644
(file)
--- a/
demos/gtk-demo/main.c
+++ b/
demos/gtk-demo/main.c
@@
-581,6
+581,9
@@
load_file (const char *demoname,
while (g_ascii_isspace (*(p + len - 1)))
len--;
+ if (*p == '#')
+ break;
+
if (len > 0)
{
if (in_para)